package cn.tedu.eshihui.ex;


import cn.tedu.eshihui.web.ServiceCode;

/**
 * 业务异常
 *
 * @author java@tedu.cn
 * @version 0.0.1
 */
public class ServiceException extends RuntimeException{
    private ServiceCode serviceCode;



    public ServiceException(ServiceCode serviceCode, String message) {
        super(message);
        this.serviceCode =serviceCode;
    }

    public ServiceException(String message) {

    }

    public ServiceCode getServiceCode(){
        return serviceCode;
    };
}
